<template>
    <div id="empty">
      <img src="./../../assets/comPagesImg/integral.jpg" v-if="showImg()=='integral'">
      <img src="./../../assets/comPagesImg/about.jpg" v-if="showImg()=='about'">
      <img src="./../../assets/comPagesImg/problems.jpg" v-if="showImg()=='problems'">
      <img src="./../../assets/comPagesImg/staff.jpg" v-if="showImg()=='staffLoad'">
    </div>
</template>
<style lang="less">
    #empty{
      position: absolute;
      top:0;
      left:0;
      bottom:0;
      right:0;
      font-size: 0;
      img{
        width: 100%;
        height: 100%;
      }
    }
</style>
<script type="javascript">

    export default{
        data(){
            return{
            }
        },
        methods:{
            showImg(){
              return this.$route.params.id
            }
        }
    }
</script>
